package c.e.b.h.e.k;

import c.e.b.h.e.b;
import c.e.b.h.e.k.k0.a;
import c.e.b.h.e.s.e;
import java.util.Date;

/* compiled from: CrashlyticsController */
public class w implements a {
    public final /* synthetic */ t a;

    public w(t tVar) {
        this.a = tVar;
    }

    public void a(e eVar, Thread thread, Throwable th) {
        t tVar = this.a;
        synchronized (tVar) {
            b bVar = b.a;
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.append("Crashlytics is handling uncaught exception \"");
            stringBuilder.append(th);
            stringBuilder.append("\" from thread ");
            stringBuilder.append(thread.getName());
            bVar.b(stringBuilder.toString());
            try {
                a1.a(tVar.e.c(new y(tVar, new Date(), th, thread, eVar)));
            } catch (Exception unused) {
            }
        }
    }
}
